/* Copyright (c) Oracle Corporation 1994.  All Rights Reserved */

/*****************************************************************************
  NAME
    hlpdoc72.ins - V3 installation script for Windows 95 hlpdoc72 product

  DESCRIPTION
    This script installs the Windows 95 hlpdoc72 product

  OWNER
	Bryan Sabol
	
  MODIFIED	MM/DD/YY	Reason
	LMurphy 08/31/95	Removed parent hierarchy
	LMurphy 06/01/95	Modified for use with Windows 95 doc10
	LMurphy 01/24/94        Modified for use with On-Line Help
  	bsabol	03/21/94	Created
*****************************************************************************/

{
	if (doit)
	{

	/*****************************
	Set the VRF-INS script ratchet
	******************************/

	ins_ratchet = "7.2.2.3.1";
							
	execute("%installer_home%\win95.ins");
		
	permit_retry_operations  = TRUE;

	/******************
	Install the product
	*******************/

	ui_product(product_label);

	if (exists("%ORACLE_HOME%\HELP\sqlnet.gid"))
		remove_file("%ORACLE_HOME%\HELP\sqlnet.gid");

	if (exists("%ORACLE_HOME%\HELP\po7.gid"))
		remove_file("%ORACLE_HOME%\HELP\po7.gid");

	if (exists("%ORACLE_HOME%\HELP\ora.gid"))
		remove_file("%ORACLE_HOME%\HELP\ora.gid");

	if (exists("%ORACLE_HOME%\HELP\orcspt.gid"))
		remove_file("%ORACLE_HOME%\HELP\orcspt.gid");

	ui_action(instantiate(installing_scripts));
	copy(deinst);

	ui_action(instantiate(installing_files));
	copy(doc);

	if (set_mshelp)
        {
           ui_action(instantiate(modifying_config));
	   modify("MSHELP",mshelp,ora_config,(product_filename(current_product)));
        }


	/*******************
	Register the product
	********************/

	ui_action(instantiate(registering));
	register(current_product);

	if (member(selected_products,current_product))
		reference(current_product);

	permit_retry_operations = FALSE;
	}
}